package net.osin.playscalajs.TableControl

import com.thoughtworks.binding.Binding
import org.lrng.binding.html
import org.scalajs.dom.html.Div

object Component {
  val table=new ConcreteTable
  val myView=new View(table)

  // table2
  val table2=new ConcreteTable2
  val myView2=new View(table2)

  @html
  def render:Binding[Div] =
  {
    <div>
      {myView.render.bind}
      {myView2.render.bind}
    </div>
  }
}
